.class public Les/my;
.super Ljava/lang/Object;
.source "AbsBottomMenu.java"


# instance fields
.field protected a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/v00;",
            ">;"
        }
    .end annotation
.end field

.field protected b:Landroid/content/Context;

.field protected c:Landroid/view/ViewGroup;

.field protected d:Z

.field protected e:Z

.field protected f:Lcom/estrongs/android/ui/theme/b;

.field private g:Z

.field protected h:I

.field private i:I

.field private j:I

.field private k:Z

.field private l:I


# direct methods
.method protected constructor <init>(Landroid/content/Context;Z)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Les/my;->a:Ljava/util/List;

    const/4 v0, 0x0

    .line 3
    iput v0, p0, Les/my;->h:I

    .line 4
    iput-boolean v0, p0, Les/my;->k:Z

    .line 5
    iput-object p1, p0, Les/my;->b:Landroid/content/Context;

    .line 6
    iput-boolean p2, p0, Les/my;->d:Z

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/utils/t;->b()Z

    move-result p2

    iput-boolean p2, p0, Les/my;->e:Z

    .line 8
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p2

    iput-object p2, p0, Les/my;->f:Lcom/estrongs/android/ui/theme/b;

    const/4 p2, 0x1

    .line 9
    iput-boolean p2, p0, Les/my;->g:Z

    .line 10
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object p1

    iget p1, p1, Landroid/util/DisplayMetrics;->widthPixels:I

    div-int/lit8 p1, p1, 0x5

    iput p1, p0, Les/my;->l:I

    .line 11
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Les/my;->a:Ljava/util/List;

    .line 12
    new-instance p1, Les/my$a;

    iget-object p2, p0, Les/my;->b:Landroid/content/Context;

    invoke-direct {p1, p0, p2}, Les/my$a;-><init>(Les/my;Landroid/content/Context;)V

    iput-object p1, p0, Les/my;->c:Landroid/view/ViewGroup;

    .line 13
    check-cast p1, Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 14
    iget-object p1, p0, Les/my;->c:Landroid/view/ViewGroup;

    check-cast p1, Landroid/widget/LinearLayout;

    const/16 p2, 0x11

    invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->setGravity(I)V

    return-void
.end method

.method static synthetic a(Les/my;I)I
    .locals 0

    .line 2
    iput p1, p0, Les/my;->i:I

    return p1
.end method

.method static synthetic a(Les/my;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/my;->g:Z

    return p0
.end method

.method static synthetic a(Les/my;Z)Z
    .locals 0

    .line 3
    iput-boolean p1, p0, Les/my;->k:Z

    return p1
.end method

.method static synthetic b(Les/my;)I
    .locals 0

    .line 1
    iget p0, p0, Les/my;->i:I

    return p0
.end method

.method static synthetic b(Les/my;I)I
    .locals 0

    .line 2
    iput p1, p0, Les/my;->j:I

    return p1
.end method

.method static synthetic c(Les/my;)I
    .locals 0

    .line 1
    iget p0, p0, Les/my;->j:I

    return p0
.end method

.method static synthetic d(Les/my;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/my;->k:Z

    return p0
.end method

.method static synthetic e(Les/my;)I
    .locals 0

    .line 1
    iget p0, p0, Les/my;->l:I

    return p0
.end method


# virtual methods
.method public a(I)Les/v00;
    .locals 1

    .line 4
    :try_start_0
    iget-object v0, p0, Les/my;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/v00;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a()V
    .locals 0

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 5
    iput-boolean p1, p0, Les/my;->g:Z

    return-void
.end method

.method protected b()V
    .locals 0

    return-void
.end method

.method public b(I)V
    .locals 3

    .line 3
    iput p1, p0, Les/my;->h:I

    if-eqz p1, :cond_1

    .line 4
    iget-object p1, p0, Les/my;->a:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_0
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/v00;

    .line 5
    invoke-virtual {v0}, Les/v00;->getIcon()Landroid/graphics/drawable/Drawable;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 6
    iget v2, p0, Les/my;->h:I

    invoke-static {v1, v2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 7
    invoke-virtual {v0, v1}, Les/v00;->setIcon(Landroid/graphics/drawable/Drawable;)Les/v00;

    goto :goto_0

    :cond_1
    return-void
.end method

.method protected c()V
    .locals 0

    return-void
.end method

.method protected d()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public e()Landroid/view/View;
    .locals 1

    .line 2
    iget-object v0, p0, Les/my;->c:Landroid/view/ViewGroup;

    return-object v0
.end method

.method public f()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public g()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method
